package br.com.felix.fwt.ui.css;

/**
 * Enumerates the possible values for the CSS property 'display'.
 * */
public enum Display {
	NONE,
	INLINE,
	BLOCK,
	LIST_ITEM,
	RUN_IN,
	COMPACT,
	MARKER,
	TABLE,
	INLINE_TABLE,
	TABLE_ROW_GROUP,
	TABLE_HEADER_GROUP,
	TABLE_FOOTER_GROUP,
	TABLE_ROW,
	TABLE_COLUMN_GROUP,
	TABLE_COLUMN,
	TABLE_CELL,
	TABLE_CAPTION;
	
	
	/**
	 * Returns the CSS value for the Display.
	 * @return the CSS value.
	 * */
	@Override
	public String toString(){
		return super.toString().toLowerCase().replaceAll("_", "-");
	}
}
